package com.ruoyi.controller;

import com.ruoyi.dto.AppDTO;
import com.ruoyi.service.AppService;
import com.ruoyi.vo.AppZoneVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:zzm
 * @Date: 2025/04/21 15:18
 */
@RestController
@RequestMapping("/amac/app")
public class AppController {
    @Autowired
    private AppService appService;

    @PostMapping("/selectCost")
    public AppZoneVO selectCost(@RequestBody AppDTO dto) {
        return appService.selectCost(dto);
    }

}


